import 'package:flutter_screenutil/flutter_screenutil.dart';

///字体适配
double setSp(num sp) {
  return ScreenUtil.getInstance().setSp(sp).toDouble();
}

///宽度适配
double setWidth(num width) {
  return ScreenUtil.getInstance().setWidth(width).toDouble();
}

///高度适配
double setHeight(num height) {
  return ScreenUtil.getInstance().setHeight(height).toDouble();
}
